#!/bin/bash
# @Date    : 2018-05-02
# @Author  : Brook (liu785029095@gmail.com)
# @Link    : http://ganlu.ren
# @Version : 1.0.0

git config --global user.name "liushaojun"
git config --global user.email "liushaojunvip@sina.com"
ssh-keygen -t rsa -C "xxxxx@xxxxx.com"
ssh -T <git-addr>
git remote add origin <git-repo>

#fatal: refusing to merge unrelated histories
git pull origin master --allow-unrelated-histories
